package org.usmile.algorithms.learn.graph;

import java.util.Collection;

public interface Graph {
    int getV();

    int getE();


    void addEdge(int v, int w);

    boolean hasEdge(int v, int w);

    Collection<Integer> adj(int v);

    int degree(int v);
}
